Bitreq client builder (rustls + native-tls)#516
Bitreq client builder (rustls + native-tls)#516APonce911 wants to merge 4 commits intorust-bitcoin:masterfrom
Conversation
|
Hi @APonce911, little comment on dev process. Its better if you rebase on master instead of merging if you want review. With 65 patches reviewers are not going to know where to look. Many of us review by pulling down the PR and reading each patch in our terminals. Different folk treat things differently but to me if a PR is 'open' it is a request to merge so it should be in a mergable state. We use the process where each commit should be a single logical change. There shouldn't be WIP commits and 'fix something I did three commits ago' commits. The whole set of commits (aka the 'patch set') should be clean and reviewable as stand alone changes. Each described in the commit log. |
|
@tcharding thanks for the feedback. That's something I'll keep in mind! As I've told you, I'm not used to open source so every bit of insight of how you do things is helpful. The process is a bit different than what I'm used to but I'm more than happy to adapt. About those patches and then small subsequent fixes, I've had a hard time trying to replicate the CI suite locally, it didn't catch some corner cases. I could have reset some commits, but didn't think about it by that time. |
|
In a perfect world every commit builds and passes CI cleanly. We do not however check each commit in CI. But locally during dev you should really, in my opinion, be trying to make sure that at least [0] I have shell alias' for these |
|
If you want to get past the ci-doesn't-run-for-first-time-contributors just throw up a quick docs fix PR and I'll merge it. |
|
@tcharding will definitely do that! However I will be off for a few days and won't be able to proceed with the rebase adjustments and doc pr until next week. Thanks for you time again! |
1e36aae to
27eac43
Compare
TheBlueMatt
left a comment
There was a problem hiding this comment.
Okay this is starting to look pretty good. Aside from the above and below, we now need to clean up the git history...You can try rebasing, but it might at this point be simpler to just git reset upstream/master and then manually re-commit what you have.
ee83cc2 to
1ad18eb
Compare
…g when wrapping async stream
Summary
This PR addresses issue #473 by creating a Client Builder able to receive custom root certificates at runtime.
The ClientBuilder requires async-https-rustls or async-https-native-tls features.
Changes
with_root_certificatebuilder method.disable_default_certificatesbuilder method.This PR substitutes the 502